<?php
namespace App\Http\Controllers\before;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;

class ProDetController  extends Controller{
    public function index(){
        $goods_no = $_GET['id'];
        $users = DB::select('select * from goods where goods_no =?', [$goods_no]);
        return view('prodet.index',['users'=>$users]);
    }
}